TwclGattServer.Services[Integer] Property

Gets the local GATT service by its index.

Namespace: wclBluetooth
public
 property Services[const Index: Integer]: TwclGattLocalService
 read GetServices;

Parameters

Index
Type: Integer

The service's index. The parameter must be in range between 0 and ServicesCount - 1. If the parameter is out of range the wclErrors.wclEInvalidArgument exception raises.

Property Value

The local GATT service object.